package com.example.farmer.Entity;

public class User {
    private String userName ;
    private String userNumber ;
    private String password ;
    private String sex ;
    private String email ;
    private String paypassword ;

    public User(String userName,String userNumber, String password,String sex,String email,String paypassword) {
        this.userName = userName;
        this.userNumber = userNumber ;
        this.password = password ;
        this.sex = sex;
        this.email = email;
        this.paypassword = paypassword;

    }

    public User(String userNumber, String password,String sex,String email) {
        this.userNumber = userNumber ;
        this.password = password ;
        this.sex = sex;
        this.email = email;
    }

    public User(String userNumber, String password,String sex) {
        this.userNumber = userNumber ;
        this.password = password ;
        this.sex = sex;
    }

    public User(String userNumber, String password) {
        this.userNumber = userNumber ;
        this.password = password ;
    }

    public User(String userNumber) {
        this.userNumber = userNumber ;

    }

    public User() {

    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPaypassword() {
        return paypassword;
    }

    public void setPaypassword(String paypassword) {
        this.paypassword = paypassword;
    }

    @Override
    public String toString() {
        return "User{" +
                "userName='" + userName + '\'' +
                ", userNumber='" + userNumber + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", email='" + email + '\'' +
                ", paypassword='" + paypassword + '\'' +
                '}';
    }
}
